package com.huawei.designpattern.dependencyinversion;

/**
 * @Desc 依赖倒置原则
 * @Author 阿里P10大神退退
 * @date 2020/4/4 23:54
 */
public class DependencyInversionTest {

    // 高层不应该依赖底层，应该依赖抽象
    public static void main(String[] args) {
        Study study = new Study();
        study.study(new JavaCourse());
    }
}
